package com.yht.weblog.admin.convert;

import com.yht.weblog.admin.model.vo.article.FindArticleDetailRspVO;
import com.yht.weblog.common.domain.dos.ArticleDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author: yht
 * @date: 2024/1/3 22:04
 * @description: 文章详情转换类
 **/
@Mapper
public interface ArticleDetailConvert {
    /**
     * 初始化 convert 实例
     */
    public static final ArticleDetailConvert INSTANCE = Mappers.getMapper(ArticleDetailConvert.class);

    FindArticleDetailRspVO convertDO2VO(ArticleDO articleDO);

}
